<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'>
<html xmlns='http://www.w3.org/1999/xhtml'>
<head>
<title>lib/widget/group.h</title>
<meta name='robots' content='noindex,nofollow' />
<meta name='generator' content='GLOBAL-6.5.7' />
<meta http-equiv='Content-Style-Type' content='text/css' />
<link rel='stylesheet' type='text/css' href='../style.css' />
</head>
<body>
<!-- beginning of fixed guide -->
<div id='guide'><ul>
<li><a href='#L80'><img class='icon' src='../icons/first.png' alt='[^]' /></a></li>
<li><a href='#L120'><img class='icon' src='../icons/last.png' alt='[v]' /></a></li>
<li><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a></li>
<li><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a></li>
<li><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a></li>
<li><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a></li>
<li class='standout'><span><a href='../files/lib.html'>lib</a>/<a href='../files/lib--widget.html'>widget</a>/group.h</span></li>
</ul></div>
<!-- end of fixed guide -->
<a id='TOP' name='TOP'></a><h2 class='header'><a href='../mains.html'>root</a>/<a href='../files/lib.html'>lib</a>/<a href='../files/lib--widget.html'>widget</a>/group.h</h2>
<em class='comment'>/* <img class='icon' src='../icons/n_left.png' alt='[previous]' /><img class='icon' src='../icons/n_right.png' alt='[next]' /><a href='#L80'><img class='icon' src='../icons/first.png' alt='[first]' /></a><a href='#L120'><img class='icon' src='../icons/last.png' alt='[last]' /></a><img class='icon' src='../icons/n_top.png' alt='[top]' /><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a>&nbsp;<input type='text' readonly onfocus='this.select();' value='+1 lib/widget/group.h'  /> */</em>
<hr />
<h2 class='header'><a href='lib--widget.h.html#L20' title='Included from 20 in lib/widget.h.'>INCLUDED FROM</a></h2>
<hr />
<h2 class='header'>DEFINITIONS</h2>
This source file includes following definitions.
<ol>
<li><a href='#L80' title='Defined at 80.'>group_add_widget</a></li>
<li><a href='#L98' title='Defined at 98.'>group_add_widget_before</a></li>
<li><a href='#L111' title='Defined at 111.'>group_select_current_widget</a></li>
<li><a href='#L120' title='Defined at 120.'>group_get_current_widget_id</a></li>
</ol>
<hr />
<pre>
<a id='L1' name='L1'></a>   1 <em class='comment'>/*</em>
<a id='L2' name='L2'></a>   2 <em class='comment'> *  Widget group features module for Midnight Commander</em>
<a id='L3' name='L3'></a>   3 <em class='comment'> */</em>
<a id='L4' name='L4'></a>   4 
<a id='L5' name='L5'></a>   5 <em class='comment'>/** \file group.h</em>
<a id='L6' name='L6'></a>   6 <em class='comment'> *  \brief Header: widget group features module</em>
<a id='L7' name='L7'></a>   7 <em class='comment'> */</em>
<a id='L8' name='L8'></a>   8 
<a id='L9' name='L9'></a>   9 <em class='sharp'>#ifndef</em> <a href='../S/lib--widget--group.h.html#L10' title='Defined at 10 in lib/widget/group.h.'>MC__GROUP_H</a>
<a id='L10' name='L10'></a>  10 <em class='sharp'>#define</em> <a href='../S/lib--widget--group.h.html#L9' title='Referred from 9 in lib/widget/group.h.'>MC__GROUP_H</a>
<a id='L11' name='L11'></a>  11 
<a id='L12' name='L12'></a>  12 <em class='sharp'>#include</em> "<a href='lib--global.h.html'>lib/global.h</a>"
<a id='L13' name='L13'></a>  13 
<a id='L14' name='L14'></a>  14 <em class='comment'>/*** typedefs(not structures) and defined constants **********************************************/</em>
<a id='L15' name='L15'></a>  15 
<a id='L16' name='L16'></a>  16 <em class='sharp'>#define</em> <a href='../R/GROUP.html' title='Multiple referred from 84 places.'>GROUP</a>(<a href='../Y/x.html' title='Multiple used in 769 places.'>x</a>) ((<a href='../D/WGroup.html' title='Multiple defined in 2 places.'>WGroup</a> *)(<a href='../Y/x.html' title='Multiple used in 769 places.'>x</a>))
<a id='L17' name='L17'></a>  17 <em class='sharp'>#define</em> <a href='../R/CONST_GROUP.html' title='Multiple referred from 3 places.'>CONST_GROUP</a>(<a href='../Y/x.html' title='Multiple used in 769 places.'>x</a>) ((<strong class='reserved'>const</strong> <a href='../D/WGroup.html' title='Multiple defined in 2 places.'>WGroup</a> *)(<a href='../Y/x.html' title='Multiple used in 769 places.'>x</a>))
<a id='L18' name='L18'></a>  18 
<a id='L19' name='L19'></a>  19 <em class='comment'>/*** enums ***************************************************************************************/</em>
<a id='L20' name='L20'></a>  20 
<a id='L21' name='L21'></a>  21 <em class='comment'>/*** typedefs(not structures) ********************************************************************/</em>
<a id='L22' name='L22'></a>  22 
<a id='L23' name='L23'></a>  23 <em class='comment'>/*** structures declarations (and typedefs of structures)*****************************************/</em>
<a id='L24' name='L24'></a>  24 
<a id='L25' name='L25'></a>  25 <strong class='reserved'>struct</strong> <a href='../R/WGroup.html' title='Multiple referred from 99 places.'>WGroup</a>
<a id='L26' name='L26'></a>  26 <em class='brace'>{</em>
<a id='L27' name='L27'></a>  27     <a href='../D/Widget.html' title='Multiple defined in 2 places.'>Widget</a> <a href='../Y/widget.html' title='Multiple used in 197 places.'>widget</a>;
<a id='L28' name='L28'></a>  28 
<a id='L29' name='L29'></a>  29     <em class='comment'>/* Group members */</em>
<a id='L30' name='L30'></a>  30     <a href='../Y/GList.html' title='Multiple used in 176 places.'>GList</a> *<a href='../Y/widgets.html' title='Multiple used in 93 places.'>widgets</a>;             <em class='comment'>/* widgets list */</em>
<a id='L31' name='L31'></a>  31     <a href='../Y/GList.html' title='Multiple used in 176 places.'>GList</a> *<a href='../Y/current.html' title='Multiple used in 446 places.'>current</a>;             <em class='comment'>/* Currently active widget */</em>
<a id='L32' name='L32'></a>  32 
<a id='L33' name='L33'></a>  33     <a href='../Y/gboolean.html' title='Multiple used in 1757 places.'>gboolean</a> <a href='../Y/winch_pending.html' title='Multiple used in 5 places.'>winch_pending</a>;     <em class='comment'>/* SIGWINCH signal has been got. Resize group after rise */</em>
<a id='L34' name='L34'></a>  34     <strong class='reserved'>int</strong> <a href='../Y/mouse_status.html' title='Multiple used in 5 places.'>mouse_status</a>;           <em class='comment'>/* For the autorepeat status of the mouse */</em>
<a id='L35' name='L35'></a>  35 <em class='brace'>}</em>;
<a id='L36' name='L36'></a>  36 
<a id='L37' name='L37'></a>  37 <em class='comment'>/*** global variables defined in .c file *********************************************************/</em>
<a id='L38' name='L38'></a>  38 
<a id='L39' name='L39'></a>  39 <em class='comment'>/*** declarations of public functions ************************************************************/</em>
<a id='L40' name='L40'></a>  40 
<a id='L41' name='L41'></a>  41 <strong class='reserved'>void</strong> <a href='../S/lib--widget--group.c.html#L530' title='Defined at 530 in lib/widget/group.c.'>group_init</a> (<a href='../D/WGroup.html' title='Multiple defined in 2 places.'>WGroup</a> * <a href='../Y/g.html' title='Multiple used in 519 places.'>g</a>, <strong class='reserved'>int</strong> <a href='../Y/y1.html' title='Multiple used in 58 places.'>y1</a>, <strong class='reserved'>int</strong> <a href='../Y/x1.html' title='Multiple used in 66 places.'>x1</a>, <strong class='reserved'>int</strong> <a href='../Y/lines.html' title='Multiple used in 415 places.'>lines</a>, <strong class='reserved'>int</strong> <a href='../Y/cols.html' title='Multiple used in 503 places.'>cols</a>, <a href='../Y/widget_cb_fn.html' title='Multiple used in 16 places.'>widget_cb_fn</a> <a href='../Y/callback.html' title='Multiple used in 80 places.'>callback</a>,
<a id='L42' name='L42'></a>  42                  <a href='../Y/widget_mouse_cb_fn.html' title='Multiple used in 9 places.'>widget_mouse_cb_fn</a> <a href='../Y/mouse_callback.html' title='Multiple used in 18 places.'>mouse_callback</a>);
<a id='L43' name='L43'></a>  43 <em class='comment'>/* Default callback for groups */</em>
<a id='L44' name='L44'></a>  44 <a href='../S/lib--widget--widget-common.h.html#L65' title='Defined at 65 in lib/widget/widget-common.h.'>cb_ret_t</a> <a href='../S/lib--widget--group.c.html#L552' title='Defined at 552 in lib/widget/group.c.'>group_default_callback</a> (<a href='../D/Widget.html' title='Multiple defined in 2 places.'>Widget</a> * <a href='../Y/w.html' title='Multiple used in 1375 places.'>w</a>, <a href='../D/Widget.html' title='Multiple defined in 2 places.'>Widget</a> * <a href='../Y/sender.html' title='Multiple used in 173 places.'>sender</a>, <a href='../S/lib--widget--widget-common.h.html#L52' title='Defined at 52 in lib/widget/widget-common.h.'>widget_msg_t</a> <a href='../Y/msg.html' title='Multiple used in 374 places.'>msg</a>, <strong class='reserved'>int</strong> <a href='../Y/parm.html' title='Multiple used in 223 places.'>parm</a>,
<a id='L45' name='L45'></a>  45                                  <strong class='reserved'>void</strong> *<a href='../Y/data.html' title='Multiple used in 912 places.'>data</a>);
<a id='L46' name='L46'></a>  46 <a href='../S/lib--widget--widget-common.h.html#L65' title='Defined at 65 in lib/widget/widget-common.h.'>cb_ret_t</a> <a href='../S/lib--widget--group.c.html#L601' title='Defined at 601 in lib/widget/group.c.'>group_default_set_state</a> (<a href='../D/Widget.html' title='Multiple defined in 2 places.'>Widget</a> * <a href='../Y/w.html' title='Multiple used in 1375 places.'>w</a>, <a href='../S/lib--widget--widget-common.h.html#L92' title='Defined at 92 in lib/widget/widget-common.h.'>widget_state_t</a> <a href='../Y/state.html' title='Multiple used in 288 places.'>state</a>, <a href='../Y/gboolean.html' title='Multiple used in 1757 places.'>gboolean</a> <a href='../Y/enable.html' title='Multiple used in 21 places.'>enable</a>);
<a id='L47' name='L47'></a>  47 <strong class='reserved'>int</strong> <a href='../S/lib--widget--group.c.html#L643' title='Defined at 643 in lib/widget/group.c.'>group_handle_mouse_event</a> (<a href='../D/Widget.html' title='Multiple defined in 2 places.'>Widget</a> * <a href='../Y/w.html' title='Multiple used in 1375 places.'>w</a>, <a href='../D/Gpm_Event.html' title='Multiple defined in 2 places.'>Gpm_Event</a> * <a href='../Y/event.html' title='Multiple used in 184 places.'>event</a>);
<a id='L48' name='L48'></a>  48 
<a id='L49' name='L49'></a>  49 <strong class='reserved'>unsigned</strong> <strong class='reserved'>long</strong> <a href='../S/lib--widget--group.c.html#L690' title='Defined at 690 in lib/widget/group.c.'>group_add_widget_autopos</a> (<a href='../D/WGroup.html' title='Multiple defined in 2 places.'>WGroup</a> * <a href='../Y/g.html' title='Multiple used in 519 places.'>g</a>, <strong class='reserved'>void</strong> *<a href='../Y/w.html' title='Multiple used in 1375 places.'>w</a>, <a href='../S/lib--widget--widget-common.h.html#L110' title='Defined at 110 in lib/widget/widget-common.h.'>widget_pos_flags_t</a> <a href='../Y/pos_flags.html' title='Multiple used in 74 places.'>pos_flags</a>,
<a id='L50' name='L50'></a>  50                                         <strong class='reserved'>const</strong> <strong class='reserved'>void</strong> *<a href='../Y/before.html' title='Multiple used in 6 places.'>before</a>);
<a id='L51' name='L51'></a>  51 <strong class='reserved'>void</strong> <a href='../S/lib--widget--group.c.html#L752' title='Defined at 752 in lib/widget/group.c.'>group_remove_widget</a> (<strong class='reserved'>void</strong> *<a href='../Y/w.html' title='Multiple used in 1375 places.'>w</a>);
<a id='L52' name='L52'></a>  52 
<a id='L53' name='L53'></a>  53 <strong class='reserved'>void</strong> <a href='../S/lib--widget--group.c.html#L789' title='Defined at 789 in lib/widget/group.c.'>group_set_current_widget_next</a> (<a href='../D/WGroup.html' title='Multiple defined in 2 places.'>WGroup</a> * <a href='../Y/g.html' title='Multiple used in 519 places.'>g</a>);
<a id='L54' name='L54'></a>  54 <strong class='reserved'>void</strong> <a href='../S/lib--widget--group.c.html#L802' title='Defined at 802 in lib/widget/group.c.'>group_set_current_widget_prev</a> (<a href='../D/WGroup.html' title='Multiple defined in 2 places.'>WGroup</a> * <a href='../Y/g.html' title='Multiple used in 519 places.'>g</a>);
<a id='L55' name='L55'></a>  55 
<a id='L56' name='L56'></a>  56 <a href='../Y/GList.html' title='Multiple used in 176 places.'>GList</a> *<a href='../S/lib--widget--group.c.html#L817' title='Defined at 817 in lib/widget/group.c.'>group_get_widget_next_of</a> (<a href='../Y/GList.html' title='Multiple used in 176 places.'>GList</a> * <a href='../Y/w.html' title='Multiple used in 1375 places.'>w</a>);
<a id='L57' name='L57'></a>  57 <a href='../Y/GList.html' title='Multiple used in 176 places.'>GList</a> *<a href='../S/lib--widget--group.c.html#L832' title='Defined at 832 in lib/widget/group.c.'>group_get_widget_prev_of</a> (<a href='../Y/GList.html' title='Multiple used in 176 places.'>GList</a> * <a href='../Y/w.html' title='Multiple used in 1375 places.'>w</a>);
<a id='L58' name='L58'></a>  58 
<a id='L59' name='L59'></a>  59 <strong class='reserved'>void</strong> <a href='../S/lib--widget--group.c.html#L845' title='Defined at 845 in lib/widget/group.c.'>group_select_next_widget</a> (<a href='../D/WGroup.html' title='Multiple defined in 2 places.'>WGroup</a> * <a href='../Y/g.html' title='Multiple used in 519 places.'>g</a>);
<a id='L60' name='L60'></a>  60 <strong class='reserved'>void</strong> <a href='../S/lib--widget--group.c.html#L858' title='Defined at 858 in lib/widget/group.c.'>group_select_prev_widget</a> (<a href='../D/WGroup.html' title='Multiple defined in 2 places.'>WGroup</a> * <a href='../Y/g.html' title='Multiple used in 519 places.'>g</a>);
<a id='L61' name='L61'></a>  61 
<a id='L62' name='L62'></a>  62 <strong class='reserved'>void</strong> <a href='../S/lib--widget--group.c.html#L872' title='Defined at 872 in lib/widget/group.c.'>group_select_widget_by_id</a> (<strong class='reserved'>const</strong> <a href='../D/WGroup.html' title='Multiple defined in 2 places.'>WGroup</a> * <a href='../Y/g.html' title='Multiple used in 519 places.'>g</a>, <strong class='reserved'>unsigned</strong> <strong class='reserved'>long</strong> <a href='../Y/id.html' title='Multiple used in 160 places.'>id</a>);
<a id='L63' name='L63'></a>  63 
<a id='L64' name='L64'></a>  64 <strong class='reserved'>void</strong> <a href='../S/lib--widget--group.c.html#L890' title='Defined at 890 in lib/widget/group.c.'>group_send_broadcast_msg</a> (<a href='../D/WGroup.html' title='Multiple defined in 2 places.'>WGroup</a> * <a href='../Y/g.html' title='Multiple used in 519 places.'>g</a>, <a href='../S/lib--widget--widget-common.h.html#L52' title='Defined at 52 in lib/widget/widget-common.h.'>widget_msg_t</a> <a href='../D/message.html' title='Multiple defined in 5 places.'>message</a>);
<a id='L65' name='L65'></a>  65 
<a id='L66' name='L66'></a>  66 <em class='comment'>/* --------------------------------------------------------------------------------------------- */</em>
<a id='L67' name='L67'></a>  67 <em class='comment'>/*** inline functions ****************************************************************************/</em>
<a id='L68' name='L68'></a>  68 <em class='comment'>/* --------------------------------------------------------------------------------------------- */</em>
<a id='L69' name='L69'></a>  69 
<a id='L70' name='L70'></a>  70 <em class='comment'>/**</em>
<a id='L71' name='L71'></a>  71 <em class='comment'> * Add widget to group before current widget.</em>
<a id='L72' name='L72'></a>  72 <em class='comment'> *</em>
<a id='L73' name='L73'></a>  73 <em class='comment'> * @param g WGroup object</em>
<a id='L74' name='L74'></a>  74 <em class='comment'> * @param w widget to be added</em>
<a id='L75' name='L75'></a>  75 <em class='comment'> *</em>
<a id='L76' name='L76'></a>  76 <em class='comment'> * @return widget ID</em>
<a id='L77' name='L77'></a>  77 <em class='comment'> */</em>
<a id='L78' name='L78'></a>  78 
<a id='L79' name='L79'></a>  79 <strong class='reserved'>static</strong> <strong class='reserved'>inline</strong> <strong class='reserved'>unsigned</strong> <strong class='reserved'>long</strong>
<a id='L80' name='L80'></a>  80 <a href='../R/group_add_widget.html' title='Multiple referred from 164 places.'>group_add_widget</a> (<a href='../D/WGroup.html' title='Multiple defined in 2 places.'>WGroup</a> * <a href='../Y/g.html' title='Multiple used in 519 places.'>g</a>, <strong class='reserved'>void</strong> *<a href='../Y/w.html' title='Multiple used in 1375 places.'>w</a>)
     <em class='comment'>/* <img class='icon' src='../icons/n_left.png' alt='[previous]' /><a href='#L98'><img class='icon' src='../icons/right.png' alt='[next]' /></a><img class='icon' src='../icons/n_first.png' alt='[first]' /><a href='#L120'><img class='icon' src='../icons/last.png' alt='[last]' /></a><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a>&nbsp;<input type='text' readonly onfocus='this.select();' value='+80 lib/widget/group.h'  /> */</em>
<a id='L81' name='L81'></a>  81 <em class='brace'>{</em>
<a id='L82' name='L82'></a>  82     <strong class='reserved'>return</strong> <a href='../S/lib--widget--group.c.html#L690' title='Defined at 690 in lib/widget/group.c.'>group_add_widget_autopos</a> (<a href='../Y/g.html' title='Multiple used in 519 places.'>g</a>, <a href='../Y/w.html' title='Multiple used in 1375 places.'>w</a>, <a href='../S/lib--widget--widget-common.h.html#L109' title='Defined at 109 in lib/widget/widget-common.h.'>WPOS_KEEP_DEFAULT</a>,
<a id='L83' name='L83'></a>  83                                      <a href='../Y/g.html' title='Multiple used in 519 places.'>g</a>-&gt;<a href='../Y/current.html' title='Multiple used in 446 places.'>current</a> != <a href='../Y/NULL.html' title='Multiple used in 5646 places.'>NULL</a> ? <a href='../Y/g.html' title='Multiple used in 519 places.'>g</a>-&gt;<a href='../Y/current.html' title='Multiple used in 446 places.'>current</a>-&gt;<a href='../Y/data.html' title='Multiple used in 912 places.'>data</a> : <a href='../Y/NULL.html' title='Multiple used in 5646 places.'>NULL</a>);
<a id='L84' name='L84'></a>  84 <em class='brace'>}</em>
<a id='L85' name='L85'></a>  85 
<a id='L86' name='L86'></a>  86 <em class='comment'>/* --------------------------------------------------------------------------------------------- */</em>
<a id='L87' name='L87'></a>  87 <em class='comment'>/**</em>
<a id='L88' name='L88'></a>  88 <em class='comment'> * Add widget to group before specified widget.</em>
<a id='L89' name='L89'></a>  89 <em class='comment'> *</em>
<a id='L90' name='L90'></a>  90 <em class='comment'> * @param g WGroup object</em>
<a id='L91' name='L91'></a>  91 <em class='comment'> * @param w widget to be added</em>
<a id='L92' name='L92'></a>  92 <em class='comment'> * @param before add @w before this widget</em>
<a id='L93' name='L93'></a>  93 <em class='comment'> *</em>
<a id='L94' name='L94'></a>  94 <em class='comment'> * @return widget ID</em>
<a id='L95' name='L95'></a>  95 <em class='comment'> */</em>
<a id='L96' name='L96'></a>  96 
<a id='L97' name='L97'></a>  97 <strong class='reserved'>static</strong> <strong class='reserved'>inline</strong> <strong class='reserved'>unsigned</strong> <strong class='reserved'>long</strong>
<a id='L98' name='L98'></a>  98 group_add_widget_before (<a href='../D/WGroup.html' title='Multiple defined in 2 places.'>WGroup</a> * <a href='../Y/g.html' title='Multiple used in 519 places.'>g</a>, <strong class='reserved'>void</strong> *<a href='../Y/w.html' title='Multiple used in 1375 places.'>w</a>, <strong class='reserved'>void</strong> *<a href='../Y/before.html' title='Multiple used in 6 places.'>before</a>)
     <em class='comment'>/* <a href='#L80'><img class='icon' src='../icons/left.png' alt='[previous]' /></a><a href='#L111'><img class='icon' src='../icons/right.png' alt='[next]' /></a><a href='#L80'><img class='icon' src='../icons/first.png' alt='[first]' /></a><a href='#L120'><img class='icon' src='../icons/last.png' alt='[last]' /></a><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a>&nbsp;<input type='text' readonly onfocus='this.select();' value='+98 lib/widget/group.h'  /> */</em>
<a id='L99' name='L99'></a>  99 <em class='brace'>{</em>
<a id='L100' name='L100'></a> 100     <strong class='reserved'>return</strong> <a href='../S/lib--widget--group.c.html#L690' title='Defined at 690 in lib/widget/group.c.'>group_add_widget_autopos</a> (<a href='../Y/g.html' title='Multiple used in 519 places.'>g</a>, <a href='../Y/w.html' title='Multiple used in 1375 places.'>w</a>, <a href='../S/lib--widget--widget-common.h.html#L109' title='Defined at 109 in lib/widget/widget-common.h.'>WPOS_KEEP_DEFAULT</a>, <a href='../Y/before.html' title='Multiple used in 6 places.'>before</a>);
<a id='L101' name='L101'></a> 101 <em class='brace'>}</em>
<a id='L102' name='L102'></a> 102 
<a id='L103' name='L103'></a> 103 <em class='comment'>/* --------------------------------------------------------------------------------------------- */</em>
<a id='L104' name='L104'></a> 104 <em class='comment'>/**</em>
<a id='L105' name='L105'></a> 105 <em class='comment'> * Select current widget in the Dialog.</em>
<a id='L106' name='L106'></a> 106 <em class='comment'> *</em>
<a id='L107' name='L107'></a> 107 <em class='comment'> * @param h WDialog object</em>
<a id='L108' name='L108'></a> 108 <em class='comment'> */</em>
<a id='L109' name='L109'></a> 109 
<a id='L110' name='L110'></a> 110 <strong class='reserved'>static</strong> <strong class='reserved'>inline</strong> <strong class='reserved'>void</strong>
<a id='L111' name='L111'></a> 111 <a href='../R/group_select_current_widget.html' title='Multiple referred from 3 places.'>group_select_current_widget</a> (<a href='../D/WGroup.html' title='Multiple defined in 2 places.'>WGroup</a> * <a href='../Y/g.html' title='Multiple used in 519 places.'>g</a>)
     <em class='comment'>/* <a href='#L98'><img class='icon' src='../icons/left.png' alt='[previous]' /></a><a href='#L120'><img class='icon' src='../icons/right.png' alt='[next]' /></a><a href='#L80'><img class='icon' src='../icons/first.png' alt='[first]' /></a><a href='#L120'><img class='icon' src='../icons/last.png' alt='[last]' /></a><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a>&nbsp;<input type='text' readonly onfocus='this.select();' value='+111 lib/widget/group.h'  /> */</em>
<a id='L112' name='L112'></a> 112 <em class='brace'>{</em>
<a id='L113' name='L113'></a> 113     <strong class='reserved'>if</strong> (<a href='../Y/g.html' title='Multiple used in 519 places.'>g</a>-&gt;<a href='../Y/current.html' title='Multiple used in 446 places.'>current</a> != <a href='../Y/NULL.html' title='Multiple used in 5646 places.'>NULL</a>)
<a id='L114' name='L114'></a> 114         <a href='../S/lib--widget--widget-common.c.html#L605' title='Defined at 605 in lib/widget/widget-common.c.'>widget_select</a> (<a href='../S/lib--widget--widget-common.h.html#L15' title='Defined at 15 in lib/widget/widget-common.h.'>WIDGET</a> (<a href='../Y/g.html' title='Multiple used in 519 places.'>g</a>-&gt;<a href='../Y/current.html' title='Multiple used in 446 places.'>current</a>-&gt;<a href='../Y/data.html' title='Multiple used in 912 places.'>data</a>));
<a id='L115' name='L115'></a> 115 <em class='brace'>}</em>
<a id='L116' name='L116'></a> 116 
<a id='L117' name='L117'></a> 117 <em class='comment'>/* --------------------------------------------------------------------------------------------- */</em>
<a id='L118' name='L118'></a> 118 
<a id='L119' name='L119'></a> 119 <strong class='reserved'>static</strong> <strong class='reserved'>inline</strong> <strong class='reserved'>unsigned</strong> <strong class='reserved'>long</strong>
<a id='L120' name='L120'></a> 120 <a href='../R/group_get_current_widget_id.html' title='Multiple referred from 2 places.'>group_get_current_widget_id</a> (<strong class='reserved'>const</strong> <a href='../D/WGroup.html' title='Multiple defined in 2 places.'>WGroup</a> * <a href='../Y/g.html' title='Multiple used in 519 places.'>g</a>)
     <em class='comment'>/* <a href='#L111'><img class='icon' src='../icons/left.png' alt='[previous]' /></a><img class='icon' src='../icons/n_right.png' alt='[next]' /><a href='#L80'><img class='icon' src='../icons/first.png' alt='[first]' /></a><img class='icon' src='../icons/n_last.png' alt='[last]' /><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a>&nbsp;<input type='text' readonly onfocus='this.select();' value='+120 lib/widget/group.h'  /> */</em>
<a id='L121' name='L121'></a> 121 <em class='brace'>{</em>
<a id='L122' name='L122'></a> 122     <strong class='reserved'>return</strong> <a href='../S/lib--widget--widget-common.h.html#L15' title='Defined at 15 in lib/widget/widget-common.h.'>WIDGET</a> (<a href='../Y/g.html' title='Multiple used in 519 places.'>g</a>-&gt;<a href='../Y/current.html' title='Multiple used in 446 places.'>current</a>-&gt;<a href='../Y/data.html' title='Multiple used in 912 places.'>data</a>)-&gt;<a href='../Y/id.html' title='Multiple used in 160 places.'>id</a>;
<a id='L123' name='L123'></a> 123 <em class='brace'>}</em>
<a id='L124' name='L124'></a> 124 
<a id='L125' name='L125'></a> 125 <em class='sharp'>#endif</em> <em class='comment'>/* MC__GROUP_H */</em>
</pre>
<hr />
<a id='BOTTOM' name='BOTTOM'></a>
<em class='comment'>/* <img class='icon' src='../icons/n_left.png' alt='[previous]' /><img class='icon' src='../icons/n_right.png' alt='[next]' /><a href='#L80'><img class='icon' src='../icons/first.png' alt='[first]' /></a><a href='#L120'><img class='icon' src='../icons/last.png' alt='[last]' /></a><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a><img class='icon' src='../icons/n_bottom.png' alt='[bottom]' /><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a>&nbsp;<input type='text' readonly onfocus='this.select();' value='+125 lib/widget/group.h'  /> */</em>
</body>
</html>
